<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	String path=request.getContextPath();
	String basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href="<%=basePath%>">
<title>用户注册</title>
<link type="text/css" href="css/style.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
<script src="js/Reg.js" type="text/javascript"></script>
</head>
<body onload="createCode();">
	<%@ include file="include/head.jsp" %>
	 <div id="UpdatePanel1">
                <div id="ymain">
                    <div class="h-10"></div>
                    <div class="h-10"></div>
                    <div class="w-reg-form">
                    <form action="user/registerAction" method="post">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                           <tbody>
                            <tr>
                                <td width="90" align="right"><i>*</i>用户名</td>
                                <td width="10">&nbsp;</td>
                                <td class="ico-z">
                                    <input name="txtUserCode" type="text" maxlength="20" id="txtUserCode" class="input-280">								<span></span>
                                </td>
                            </tr>
                            <tr id="UserCode" style="display: none;">
                                <td></td>
                                <td></td>
                                <td class="td-height"></td>
                            </tr>
                            <tr>
                                <td align="right"><i>*</i>设置密码</td>
                                <td>&nbsp;</td>
                                <td class="ico-z">
                                    <input name="txtPassword" type="password" maxlength="20" id="txtPassword" class="input-280"><span></span>
                                </td>
                            </tr>
                            <tr id="Password" style="display: none;">
                                <td></td>
                                <td></td>
                                <td class="td-height"></td>
                            </tr>
                            <tr>
                                <td align="right"><i>*</i>确认密码</td>
                                <td>&nbsp;</td>
                                <td class="ico-z">
                                    <input name="txtRePassword" type="password" maxlength="20" id="txtRePassword" class="input-280"><span></span>
                                </td>
                            </tr>
                            <tr id="RePassword" style="display: none;">
                                <td></td>
                                <td></td>
                                <td class="td-height"></td>
                            </tr>
                            <tr>
                                <td align="right"><i>*</i>真实姓名</td>
                                <td>&nbsp;</td>
                                <td class="ico-z">
                                    <input name="txtUserName" type="text" maxlength="20" id="txtUserName" class="input-280"><span></span>
                                </td>
                            </tr>
                            <tr id="UserName" style="display: none;">
                                <td></td>
                                <td></td>
                                <td class="td-height"></td>
                            </tr>
                            <tr>
                                <td align="right"><i>*</i>身份证号</td>
                                <td></td>
                                <td class="ico-z">
                                    <input name="txtCardId" type="text" maxlength="18" id="txtCardId" class="input-280"><span></span></td>
                            </tr>
                            <tr id="CardId" style="display: none;">
                                <td></td>
                                <td></td>
                                <td class="td-height"></td>
                            </tr>
                            <tr>
                                <td align="right"><i>*</i>邮箱</td>
                                <td></td>
                                <td class="ico-z">
                                    <input name="txtEmail" type="text" maxlength="30" id="txtEmail" class="input-280"><span></span></td>
                            </tr>
                            <tr id="Email" style="display: none;">
                                <td></td>
                                <td></td>
                                <td class="td-height"></td>
                            </tr>
                            <tr>
                                <td align="right"><i>*</i>手机号码</td>
                                <td>&nbsp;</td>
                                <td class="ico-z">
                                    <input name="txtMobile" type="text" maxlength="11" id="txtMobile" class="input-280"><span></span></td>
                            </tr>
                            <tr id="Mobile" style="display: none;">
                                <td></td>
                                <td></td>
                                <td class="td-height"></td>
                            </tr>
                            <tr>
                                <td align="right"><i>*</i>验证码</td>
                                <td></td>
                                <td class="ico-z">
                                    <input name="txbValidate" type="text" id="txbValidate" class="input-160"><span></span>
                                    <!-- 验证码区域 -->
                                    <!-- <input type="hidden"  id="J_down" data-link="http://www.baidu.com"> -->
                                  	<canvas id="myCanvas" onclick="createCode()" class="can" style="width: 70px;height: 35px; vertical-align: middle; border: 1px #CCCCCC solid "></canvas>
                                    <!-- <img id="validateImage" src="#" align="absmiddle" alt="看不清，点我刷新" style="cursor: pointer;" onclick="validateReloado();"> -->
                                    <input type="hidden" name="hid" id="hid">
                                </td>
                            </tr>
                            <tr id="Validate" style="display: none;">
                                <td></td>
                                <td></td>
                                <td class="td-height"></td>
                            </tr>
                            
                            <tr>
                                <td align="center">&nbsp;</td>
                                <td>&nbsp;</td>
                                <td>
                                    <input name="" checked="checked" type="checkbox" value="">我已阅读并同意《<a href="#" target="_blank" class="deal-a">售票服务协议</a>》</td>
                            </tr>

                            <tr>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td>
                                <input type="hidden" id="val" name="val1">
                                    <!-- <a onclick="validate();" id="lbtReg" class="login_btn" href="#">同意并注册</a>	 -->
                                    <input onclick="vilidator();" type="submit" id="subBtn" class="login_btn" style="border:0px;" value="同意并注册">	
                                    </td>
                                    
                            </tr>
                        </tbody></table>
                        </form>
                    </div>
                    <div class="w-570">
                        <img src="image/wx-img.jpg"/>
                    </div>
                    <div class="h-10"></div>
                    <div class="h-10"></div>
                    <div class="clear"></div>
                </div>
            
</div>
 	<%@ include file="include/foot.jsp" %>
</body>
</html>